Part Number Hot Search : 
Z02W91V VICES CY230508 LC150 LF50AB NJW1165L TBT8N33 ADUC848
Product Description
Full Text Search
 

To Download ATTINY861A-XU Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  features ? high performance, low power avr ? 8-bit microcontroller ? advanced risc architecture ? 123 powerful instructions ? most single clock cycle execution ? 32 x 8 general purpose working registers ? fully static operation ? up to 20 mips throughput at 20 mhz ? high endurance non-volatile memory segments ? 2/4/8k bytes of in-system self-p rogrammable flash program memory ? endurance: 10,000 write/erase cycles ? 128/256/512 by tes of in-system programmable eeprom ? endurance: 100,000 write/erase cycles ? 128/256/512 bytes of internal sram ? data retention: 20 years at 85c / 100 years at 25 c ? in-system programmable via spi port ? programming lock for software security ? peripheral features ? one 8/16-bit timer/counter with prescaler ? one 8/10-bit high speed ti mer/counter with prescaler ? 3 high frequency pwm outputs with separate output compare registers ? programmable dead time generator ? 10-bit adc ? 11 single-ended channels ? 16 differential adc channel pairs ? 15 differential adc channel pairs with programmable gain (1x, 8x, 20x, 32x) ? on-chip analog comparator ? programmable watchdog timer with separate on-chip oscillator ? universal serial interface with start condition detector ? interrupt and wake-up on pin change ? special microcontroller features ? debugwire on-chip debug system ? power-on reset and programmable brown-out detection ? internal calibrated oscillator ? external and internal interrupt sources ? four sleep modes: low power idle, adc noise reduction, standby and power- down ? on-chip temperature sensor ? i/o and packages ? 16 programmable i/o lines ? 20-pin pdip, 20-pin soic, 20- pin tssop and 32-pad mlf ? operating voltage ? 1.8 ? 5.5v ? speed grades ? 0 ? 4 mhz @ 1.8 ? 5.5v ? 0 ? 10 mhz @ 2.7 ? 5.5v ? 0 ? 20 mhz @ 4.5 ? 5.5v ? power consumption at 1 mhz, 1.8v, 25c ? active: 200 a ? power-down mode: 0.1 a 8-bit microcontroller with 2/4/8k bytes in-system programmable flash attiny261a attiny461a attiny861a summary 8197cs?avr?05/11
2 8197cs?avr?05/11 attiny261a/461a/861a 1. pin configurations figure 1-1. pinout attiny261a/461a/861a note: to ensure mechanical stability the center pad underneath the qfn/mlf package should be soldered to ground on the board. 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 (mosi/di/sda/oc1a/pcint8) pb0 (miso/do/oc1a/pcint9) pb1 (sck/usck/scl/oc1b/pcint10) pb2 (oc1b/pcint11) pb3 vcc gnd (adc7/oc1d/clki/xtal1/pcint12) pb4 (adc8/oc1d/clko/xtal2/pcint13) pb5 (adc9/int0/t0/pcint14) pb6 (adc10/reset/pcint15) pb7 pa0 (adc0/di/sda/pcint0) pa1 (adc1/do/pcint1) pa2 (adc2/int1/usck/scl/pcint2) pa3 (aref/pcint3) agnd avcc pa4 (adc3/icp0/pcint4) pa5 (adc4/ain2/pcint5) pa6 (adc5/ain0/pcint6) pa7 (adc6/ain1/pcint7) pdip/soic/tssop 1 2 3 4 5 6 7 8 24 23 22 21 20 19 18 17 32 31 30 29 28 27 26 25 9 10 11 12 13 14 15 16 nc (oc1b/pcint11) pb3 nc vcc gnd nc (adc7/oc1d/clki/xtal1/pcint12) pb4 (adc8/oc1d/clko/xtal2/pcint13) pb5 nc pa2 (adc2/int1/usck/scl/pcint2) pa3 (aref/pcint3) agnd nc nc avcc pa4 (adc3/icp0/pcint4) nc (adc9/int0/t0/pcint14) pb6 (adc10/reset/pcint15) pb7 nc (adc6/ain1/pcint7) pa7 (adc5/ain0/pcint6) pa6 (adc4/ain2/pcint5) pa5 nc pb2 (sck/usck/scl/oc1b/pcint10) pb1 (miso/do/oc1a/pcint9) pb0 (mosi/di/sda/oc1a/pcint8) nc nc nc pa0 (adc0/di/sda/pcint0) pa1 (adc1/do/pcint1) qfn/mlf
3 8197cs?avr?05/11 attiny261a/461a/861a 1.1 pin descriptions 1.1.1 vcc supply voltage. 1.1.2 gnd ground. 1.1.3 avcc analog supply voltage. this is the supply voltage pin for the analog-to-digital converter (adc), the analog comparator, the brown-out detector (bod), the internal voltage reference and port a. it should be externally connected to vcc, even if some peripherals such as the adc are not used. if the adc is used avcc should be connected to vcc through a low-pass filter. 1.1.4 agnd analog ground. 1.1.5 port a (pa7:pa0) an 8-bit, bi-directional i/o port with internal pull-up resistors, individually selectable for each bit. output buffers have symmetrical drive characteri stics with both high sink and source capability. as inputs, port pins that are externally pulled low will source current if pull-up resistors have been activated. port pins are tri-stated when a reset condition becomes active, even if the clock is not running. port a also serves the functions of various special features of the device, as listed on page 62 . 1.1.6 port b (pb7:pb0) an 8-bit, bi-directional i/o port with internal pull-up resistors, individually selectable for each bit. output buffers have symmetrical drive characteri stics with both high sink and source capability. as inputs, port pins that are externally pulled low will source current if pull-up resistors have been activated. port pins are tri-stated when a reset condition becomes active, even if the clock is not running. port b also serves the functions of various special features of the device, as listed on page 65 . 1.1.7 reset reset input. a low level on this pin for longer than the minimum pulse length will generate a reset, even if the clock is not running and prov ided the reset pin has not been disabled. the min- imum pulse length is given in table 19-4 on page 188 . shorter pulses are not guaranteed to generate a reset. the reset pin can also be used as a (weak) i/o pin.
4 8197cs?avr?05/11 attiny261a/461a/861a 2. overview attiny261a/461a/861a are low-power cmos 8-bit microcontrollers based on the avr enhanced risc architecture. by executing powerful instructions in a single clock cycle, the devices achieve throughputs approaching 1 mips per mhz allowing the system designer to opti- mize power consumption versus processing speed. 2.1 block diagram figure 2-1. block diagram the avr core combines a rich instruction set with 32 general purpose working registers. all 32 registers are directly connected to the arithmetic logic unit (alu), allowing two independent registers to be accessed in one single instruction executed in one clock cycle. the resulting architecture is more code efficient while achiev ing throughputs up to ten times faster than con- ventional cisc microcontrollers. port a (8) port b (8) usi timer/counter1 timer/counter0 a/d conv. internal bandgap analog comp. sram flash eeprom watchdog oscillator watchdog timer oscillator circuits / clock generation power supervision por / bod & reset vcc gnd program logic debugwire agnd aref avcc databus pa[0:7] pb[0:7] 11 reset xtal[1:2] cpu 3
5 8197cs?avr?05/11 attiny261a/461a/861a the attiny261a/461a/861a provides the following features: 2/4/8k byte of in-system program- mable flash, 128/256/512 by tes eeprom, 128/256/512 bytes sram, 16 general purpose i/o lines, 32 general purpose working registers, an 8-bit timer/counter with compare modes, an 8- bit high speed timer/counter, a universal serial interface, internal and external interrupts, an 11-channel, 10-bit adc, a progra mmable watchdog timer with inter nal oscillator, and four soft- ware selectable power saving modes. idle mode stops the cpu while allowing the sram, timer/counter, adc, analog comparator, and interrupt system to continue functioning. power- down mode saves the register contents, disabling all chip functions until the next interrupt or hardware reset. adc noise reduction mode stops the cpu and all i/o modules except adc, to minimize switching noise during adc conver sions. in standby mode, the crystal/resonator oscillator is running while the rest of the device is sleeping, allo wing very fast start-up combined with low power consumption. the device is manufactured using atmel?s high density non-volatile memory technology. the on-chip isp flash allows the program memory to be re-programmed in-system through an spi serial interface, by a conventional non-volatile memory programmer or by an on-chip boot code running on the avr core. the attiny261a/461a/861a avr is supported by a full suite of program and system develop- ment tools including: c compilers, macro assemblers, program debugger/simulators, and evaluation kits.
6 8197cs?avr?05/11 attiny261a/461a/861a 3. general information 3.1 resources a comprehensive set of drivers, application notes, data sheets and descriptions on development tools are available for download at http://www.atmel.com/avr. 3.2 code examples this documentation contains simple code examples that briefly show how to use various parts of the device. these code examples assume that the part specific header file is included before compilation. be aware that not all c compiler vendors include bit definitions in the header files and interrupt handling in c is compiler dependent. please confirm with the c compiler documen- tation for more details. for i/o registers located in the extended i/o map, ?in?, ?out?, ?sbis?, ?sbic?, ?cbi?, and ?sbi? instructions must be replaced with instructions that allow access to extended i/o. typically, this means ?lds? and ?sts? combined with ?sbrs?, ?s brc?, ?sbr?, and ?cbr?. note that not all avr devices include an extended i/o map. 3.3 capacitive touch sensing atmel qtouch library provides a simple to use solution for touch sensitive interfaces on atmel avr microcontrollers. the qtouch library includes support for qtouch ? and qmatrix ? acquisi- tion methods. touch sensing is easily added to any application by linking the qtouch library and using the application programming interface (api) of the library to define the touch channels and sensors. the application then calls the api to retrieve channel information and determine the state of the touch sensor. the qtouch library is free and can be downloaded from the atmel website. for more informa- tion and details of implementation, refer to the qtouch library user guide ? also available from the atmel website. 3.4 data retention reliability qualification results show that the pr ojected data retention failure rate is much less than 1 ppm over 20 years at 85c or 100 years at 25c.
7 8197cs?avr?05/11 attiny261a/461a/861a 4. register summary address name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 page 0x3f (0x5f) sreg i t h s v n z c page 8 0x3e (0x5e) sph ? ? ? ? ? sp10 sp9 sp8 page 11 0x3d (0x5d) spl sp7 sp6 sp5 sp4 sp3 sp2 sp1 sp0 page 11 0x3c (0x5c) reserved ? 0x3b (0x5b) gimsk int1 int0 pcie1 pcie0 ? ? ? ? page 51 0x3a (0x5a) gifr intf1 intf0 pcif ? ? ? ? ? page 52 0x39 (0x59) timsk ocie1d ocie1a ocie1b ocie0a ocie0b toie1 toie0 ticie0 page 85 , page 122 0x38 (0x58) tifr ocf1d ocf1a oc f1b ocf0a ocf0b tov1 tov0 icf0 page 86 , page 122 0x37 (0x57) spmcsr ? ? ? ctpb rflb pgwrt pgers spmen page 167 0x36 (0x56) prr ? ? ? ? prtim1 prtim0 prusi pradc page 36 0x35 (0x55) mcucr bods pud se sm1 sm0 bodse isc01 isc00 page 38 , page 68 , page 51 0x34 (0x54) mcusr ? ? ? ? wdrf borf extrf porf page 46 , 0x33 (0x53) tccr0b ? ? ? tsm psr0 cs02 cs01 cs00 page 84 0x32 (0x52) tcnt0l timer/counter0 counter register low byte page 84 0x31 (0x51) osccal oscillat or calibration register page 32 0x30 (0x50) tccr1a com1a1 com1a0 com1b1 com1b0 foc1a foc1b pwm1a pwm1b page 111 0x2f (0x4f) tccr1b pwm1x psr1 dtps11 dtps10 cs13 cs12 cs11 cs10 page 167 0x2e (0x4e) tcnt1 timer/counter1 counter register page 120 0x2d (0x4d) ocr1a timer/counter1 output compare register a page 120 0x2c (0x4c) ocr1b timer/counter1 output compare register b page 121 0x2b (0x4b) ocr1c timer/counter1 output compare register c page 121 0x2a (0x4a) ocr1d timer/counter1 output compare register d page 121 0x29 (0x49) pllcsr lsm pcke plle plock page 119 0x28 (0x48) clkpr clkpce clkps3 clkps2 clkps1 clkps0 page 32 0x27 (0x47) tccr1c com1a1s com1a0s co m1b1s com1b0s com1d1 com1d0 foc1d pwm1d page 116 0x26 (0x46) tccr1d fpie1 fpen1 fpnc1 fpes1 fpac1 fpf1 wgm11 wgm10 page 117 0x25 (0x45) tc1h ? ? ? ? ? ? tc19 tc18 page 120 0x24 (0x44) dt1 dt1h3 dt1h2 dt1h1 dt1h0 dt1l3 dt1l2 dt1l1 dt1l0 page 123 0x23 (0x43) pcmsk0 pcint7 pcint6 pcin t5 pcint4 pcint3 pcint2 pcint1 pcint0 page 53 0x22 (0x42) pcmsk1 pcint15 pcint14 pcin t13 pcint12 pcint11 pcint10 pcint9 pcint8 page 53 0x21 (0x41) wdtcr wdif wdi e wdp3 wdce wde wdp2 wdp1 wdp0 page 46 0x20 (0x40) dwdr dwdr[7:0] page 36 0x1f (0x3f) eearh ? ? ? ? ? ? ?eear8 page 20 0x1e (0x3e) eearl eear7 eear6 eear5 eear4 eear3 eear2 eear1 eear0 page 21 0x1d (0x3d) eedr eeprom data register page 21 0x1c (0x3c) eecr ? ? eepm1 eepm0 eerie eempe eepe eere page 21 0x1b (0x3b) porta porta7 porta6 porta5 porta4 porta3 porta2 porta1 porta0 page 68 0x1a (0x3a) ddra dda7 dda6 dda5 dda4 dda3 dda2 dda1 dda0 page 68 0x19 (0x39) pina pina7 pina6 pina5 pina4 pina3 pina2 pina1 pina0 page 69 0x18 (0x38) portb portb7 portb6 portb5 portb4 portb3 portb2 portb1 portb0 page 69 0x17 (0x37) ddrb ddb7 ddb6 ddb5 ddb4 ddb3 ddb2 ddb1 ddb0 page 69 0x16 (0x36) pinb pinb7 pinb6 pinb5 pinb4 pinb3 pinb2 pinb1 pinb0 page 69 0x15 (0x35) tccr0a tcw0 icen0 icnc0 ices0 acic0 ? ?ctc0 page 83 0x14 (0x34) tcnt0h timer/counter0 counter register high byte page 85 0x13 (0x33) ocr0a timer/counter0 output compare register a page 85 0x12 (0x32) ocr0b timer/counter0 output compare register b page 85 0x11 (0x31) usipp ? ? ? ? ? ? ?usipos page 135 0x10 (0x30) usibr usi buffer register page 132 0x0f (0x2f) usidr usi data register page 131 0x0e (0x2e) usisr usisif usioif usipf u sidc usicnt3 usicnt2 usicnt1 usicnt0 page 132 0x0d (0x2d) usicr usisie usioie usiwm1 usiwm0 usics1 usics0 usiclk usitc page 133 0x0c (0x2c) gpior2 general purpose i/o register 2 page 23 0x0b (0x2b) gpior1 general purpose i/o register 1 page 23 0x0a (0x2a) gpior0 general purpose i/o register 0 page 23 0x09 (0x29) acsrb hsel hlev ? ? ? acm2 acm1 acm0 page 139 0x08 (0x28) acsra acd acbg aco aci acie acme acis1 acis0 page 138 0x07 (0x27) admux refs1 refs0 adlar mux4 mux3 mux2 mux1 mux0 page 155 0x06 (0x26) adcsra aden adsc adate adif adie adps2 adps1 adps0 page 154 0x05 (0x25) adch adc data register high byte page 155 0x04 (0x24) adcl adc data register low byte page 155 0x03 (0x23) adcsrb bin gsel ? refs2 mux5 adts2 adts1 adts0 page 159 0x02 (0x22) didr1 adc1 0d adc9d adc8d adc7d ? ? ? ? page 160 0x01 (0x21) didr0 adc6d adc5d adc 4d adc3d arefd adc2d adc1d adc0d page 160 0x00 (0x20) tccr1e ? ? oc1oe5 oc1oe4 oc1oe3 oc1oe2 oc1oe1 oc1oe0 page 118
8 8197cs?avr?05/11 attiny261a/461a/861a note: 1. for compatibility with future devices, reserved bits s hould be written to zero if accessed. reserved i/o memory addresse s should never be written. 2. i/o registers within the address range 0x00 - 0x1f are directly bit-accessible using the sbi and cbi instructions. in these registers, the value of single bits can be ch ecked by using the sbis and sbic instructions. 3. some of the status flags are cleared by writing a logical o ne to them. note that, unlike most other avrs, the cbi and sbi instructions will only operation the specified bit, and can theref ore be used on registers contai ning such status flags. the cbi and sbi instructions work wit h registers 0x00 to 0x1f only.
9 8197cs?avr?05/11 attiny261a/461a/861a 5. instruction set summary mnemonics operands description operation flags #clocks arithmetic and logic instructions add rd, rr add two registers rd rd + rr z,c,n,v,h 1 adc rd, rr add with carry two registers rd rd + rr + c z,c,n,v,h 1 adiw rdl,k add immediate to word rdh:rdl rdh:rdl + k z,c,n,v,s 2 sub rd, rr subtract two registers rd rd - rr z,c,n,v,h 1 subi rd, k subtract constant from register rd rd - k z,c,n,v,h 1 sbc rd, rr subtract with carry two registers rd rd - rr - c z,c,n,v,h 1 sbci rd, k subtract with carry constant from reg. rd rd - k - c z,c,n,v,h 1 sbiw rdl,k subtract immediate from word rdh:rdl rdh:rdl - k z,c,n,v,s 2 and rd, rr logical and registers rd rd ? rr z,n,v 1 andi rd, k logical and register and constant rd rd ? k z,n,v 1 or rd, rr logical or registers rd rd v rr z,n,v 1 ori rd, k logical or register and constant rd rd v k z,n,v 1 eor rd, rr exclusive or registers rd rd rr z,n,v 1 com rd one?s complement rd 0xff ? rd z,c,n,v 1 neg rd two?s complement rd 0x00 ? rd z,c,n,v,h 1 sbr rd,k set bit(s) in register rd rd v k z,n,v 1 cbr rd,k clear bit(s) in register rd rd ? (0xff - k) z,n,v 1 inc rd increment rd rd + 1 z,n,v 1 dec rd decrement rd rd ? 1 z,n,v 1 tst rd test for zero or minus rd rd ? rd z,n,v 1 clr rd clear register rd rd rd z,n,v 1 ser rd set register rd 0xff none 1 branch instructions rjmp k relative jump pc pc + k + 1 none 2 ijmp indirect jump to (z) pc z none 2 rcall k relative subroutine call pc pc + k + 1 none 3 icall indirect call to (z) pc znone3 ret subroutine return pc stack none 4 reti interrupt return pc stack i 4 cpse rd,rr compare, skip if equal if (rd = rr) pc pc + 2 or 3 none 1/2/3 cp rd,rr compare rd ? rr z, n,v,c,h 1 cpc rd,rr compare with carry rd ? rr ? c z, n,v,c,h 1 cpi rd,k compare register with immediate rd ? k z, n,v,c,h 1 sbrc rr, b skip if bit in register cleared if (rr(b)=0) pc pc + 2 or 3 none 1/2/3 sbrs rr, b skip if bit in register is set if (rr(b)=1) pc pc + 2 or 3 none 1/2/3 sbic p, b skip if bit in i/o register cleared if (p(b)=0) pc pc + 2 or 3 none 1/2/3 sbis p, b skip if bit in i/o register is set if (p(b)=1) pc pc + 2 or 3 none 1/2/3 brbs s, k branch if status flag set if (sreg(s) = 1) then pc pc+k + 1 none 1/2 brbc s, k branch if status flag cleared if (sreg(s) = 0) then pc pc+k + 1 none 1/2 breq k branch if equal if (z = 1) then pc pc + k + 1 none 1/2 brne k branch if not equal if (z = 0) then pc pc + k + 1 none 1/2 brcs k branch if carry set if (c = 1) then pc pc + k + 1 none 1/2 brcc k branch if carry cleared if (c = 0) then pc pc + k + 1 none 1/2 brsh k branch if same or higher if (c = 0) then pc pc + k + 1 none 1/2 brlo k branch if lower if (c = 1) then pc pc + k + 1 none 1/2 brmi k branch if minus if (n = 1) then pc pc + k + 1 none 1/2 brpl k branch if plus if (n = 0) then pc pc + k + 1 none 1/2 brge k branch if greater or equal, signed if (n v= 0) then pc pc + k + 1 none 1/2 brlt k branch if less than zero, signed if (n v= 1) then pc pc + k + 1 none 1/2 brhs k branch if half carry flag set if (h = 1) then pc pc + k + 1 none 1/2 brhc k branch if half carry flag cleared if (h = 0) then pc pc + k + 1 none 1/2 brts k branch if t flag set if (t = 1) then pc pc + k + 1 none 1/2 brtc k branch if t flag cleared if (t = 0) then pc pc + k + 1 none 1/2 brvs k branch if overflow flag is set if (v = 1) then pc pc + k + 1 none 1/2 brvc k branch if overflow flag is cleared if (v = 0) then pc pc + k + 1 none 1/2 brie k branch if interrupt enabled if ( i = 1) then pc pc + k + 1 none 1/2 brid k branch if interrupt disabled if ( i = 0) then pc pc + k + 1 none 1/2 bit and bit-test instructions sbi p,b set bit in i/o register i/o(p,b) 1none2 cbi p,b clear bit in i/o register i/o(p,b) 0none2 lsl rd logical shift left rd(n+1) rd(n), rd(0) 0 z,c,n,v 1 lsr rd logical shift right rd(n) rd(n+1), rd(7) 0 z,c,n,v 1 rol rd rotate left through carry rd(0) c,rd(n+1) rd(n),c rd(7) z,c,n,v 1 ror rd rotate right through carry rd(7) c,rd(n) rd(n+1),c rd(0) z,c,n,v 1
10 8197cs?avr?05/11 attiny261a/461a/861a asr rd arithmetic shift right rd(n) rd(n+1), n=0..6 z,c,n,v 1 swap rd swap nibbles rd(3..0) rd(7..4),rd(7..4) rd(3..0) none 1 bset s flag set sreg(s) 1 sreg(s) 1 bclr s flag clear sreg(s) 0 sreg(s) 1 bst rr, b bit store from register to t t rr(b) t 1 bld rd, b bit load from t to register rd(b) tnone1 sec set carry c 1c1 clc clear carry c 0 c 1 sen set negative flag n 1n1 cln clear negative flag n 0 n 1 sez set zero flag z 1z1 clz clear ze ro flag z 0 z 1 sei global interrupt enable i 1i1 cli global interrupt disable i 0 i 1 ses set signed test flag s 1s1 cls clear signed test flag s 0 s 1 sev set twos complement overflow. v 1v1 clv clear twos complement overflow v 0 v 1 set set t in sreg t 1t1 clt clear t in sreg t 0 t 1 seh set half carry flag in sreg h 1h1 clh clear half carry flag in sreg h 0 h 1 data transfer instructions mov rd, rr move between registers rd rr none 1 movw rd, rr copy register word rd+1:rd rr+1:rr none 1 ldi rd, k load immediate rd knone1 ld rd, x load indirect rd (x) none 2 ld rd, x+ load indirect and post-inc. rd (x), x x + 1 none 2 ld rd, - x load indirect and pre-dec. x x - 1, rd (x) none 2 ld rd, y load indirect rd (y) none 2 ld rd, y+ load indirect and post-inc. rd (y), y y + 1 none 2 ld rd, - y load indirect and pre-dec. y y - 1, rd (y) none 2 ldd rd,y+q load indirect with displacement rd (y + q) none 2 ld rd, z load indirect rd (z) none 2 ld rd, z+ load indirect and post-inc. rd (z), z z+1 none 2 ld rd, -z load indirect and pre-dec. z z - 1, rd (z) none 2 ldd rd, z+q load indirect with displacement rd (z + q) none 2 lds rd, k load direct from sram rd (k) none 2 st x, rr store indirect (x) rr none 2 st x+, rr store indirect and post-inc. (x) rr, x x + 1 none 2 st - x, rr store indirect and pre-dec. x x - 1, (x) rr none 2 st y, rr store indirect (y) rr none 2 st y+, rr store indirect and post-inc. (y) rr, y y + 1 none 2 st - y, rr store indirect and pre-dec. y y - 1, (y) rr none 2 std y+q,rr store indirect with displacement (y + q) rr none 2 st z, rr store indirect (z) rr none 2 st z+, rr store indirect and post-inc. (z) rr, z z + 1 none 2 st -z, rr store indirect and pre-dec. z z - 1, (z) rr none 2 std z+q,rr store indirect with displacement (z + q) rr none 2 sts k, rr store direct to sram (k) rr none 2 lpm load program memory r0 (z) none 3 lpm rd, z load program memory rd (z) none 3 lpm rd, z+ load program memory and post-inc rd (z), z z+1 none 3 spm store program memory (z) r1:r0 none in rd, p in port rd pnone1 out p, rr out port p rr none 1 push rr push register on stack stack rr none 2 pop rd pop register from stack rd stack none 2 mcu control instructions nop no operation none 1 sleep sleep (see specific descr. for sleep function) none 1 wdr watchdog reset (see specific descr. for wdr/timer) none 1 break break for on-chip debug only none n/a mnemonics operands description operation flags #clocks
11 8197cs?avr?05/11 attiny261a/461a/861a 6. ordering information notes: 1. code indicators: ? n or u: matte tin ? r: tape & reel 2. all packages are pb-free, halide-free and fully green and they comply with the european directive for restriction of hazard- ous substances (rohs). 3. these devices can also be supplied in wafer form. please contact your local atmel sales office for detailed ordering informa- tion and minimum quantities. 4. for typical and electrical characteristics of this device please consult ?appendix a ? attiny261a specification at 105 c?. 6.1 attiny261a speed (mhz) power supply ordering code (1) package (2) operational range 20 1.8 ? 5.5v attiny261a-mu attiny261a-mur attiny261a-pu attiny261a-su attiny261a-sur attiny261a-xu attiny261a-xur 32m1-a 32m1-a 20p3 20s2 20s2 20x 20x industrial (-40 c to +85 c) (3) 20 1.8 ? 5.5v attiny261a-mn attiny261a-mnr 32m1-a 32m1-a industrial (-40 c to +105 c) (4) package type 32m1-a 32-pad, 5 x 5 x 1.0 mm body, lead pitch 0.50 mm, micro lead frame package (mlf) 20p3 20-lead, 0.300" wide, plastic dual inline package (pdip) 20s2 20-lead, 0.300" wide, plastic gull wing small outline package (soic) 20x 20-lead, 4.4 mm wide, plastic thin shrink small outline package (tssop)
12 8197cs?avr?05/11 attiny261a/461a/861a notes: 1. code indicators: ? u: matte tin ? r: tape & reel 2. all packages are pb-free, halide-free and fully green and they comply with the european directive for restriction of hazard- ous substances (rohs). 3. these devices can also be supplied in wafer form. please contact your local atmel sales office for detailed ordering informa- tion and minimum quantities. 6.2 attiny461a speed (mhz) power supply ordering code (1) package (2) operational range 20 1.8 ? 5.5v attiny461a-mu attiny461a-mur attiny461a-pu attiny461a-su attiny461a-sur attiny461a-xu attiny461a-xur 32m1-a 32m1-a 20p3 20s2 20s2 20x 20x industrial (-40 c to +85 c) (3) package type 32m1-a 32-pad, 5 x 5 x 1.0 mm body, lead pitch 0. 50 mm, micro lead frame package (mlf) 20p3 20-lead, 0.300" wide, plastic dual inline package (pdip) 20s2 20-lead, 0.300" wide, plastic gull wing small outline package (soic) 20x 20-lead, 4.4 mm wide, plastic thin shrink small outline package (tssop)
13 8197cs?avr?05/11 attiny261a/461a/861a notes: 1. code indicators: ? u: matte tin ? r: tape & reel 2. all packages are pb-free, halide-free and fully green and they comply with the european directive for restriction of hazard- ous substances (rohs). 3. these devices can also be supplied in wafer form. please contact your local atmel sales office for detailed ordering informa- tion and minimum quantities. 6.3 attiny861a speed (mhz) power supply ordering code (1) package (2) operational range 20 1.8 ? 5.5v attiny861a-mu attiny861a-mur attiny861a-pu attiny861a-su attiny861a-sur ATTINY861A-XU ATTINY861A-XUr 32m1-a 32m1-a 20p3 20s2 20s2 20x 20x industrial (-40 c to +85 c) (3) package type 32m1-a 32-pad, 5 x 5 x 1.0 mm body, lead pitch 0. 50 mm, micro lead frame package (mlf) 20p3 20-lead, 0.300" wide, plastic dual inline package (pdip) 20s2 20-lead, 0.300" wide, plastic gull wing small outline package (soic) 20x 20-lead, 4.4 mm wide, plastic thin shrink small outline package (tssop)
14 8197cs?avr?05/11 attiny261a/461a/861a 7. packaging information 7.1 32m1-a 2 3 25 orch a rd p a rkw a y sa n jo s e, ca 951 3 1 title drawing no. r rev. 3 2m1-a , 3 2-p a d, 5 x 5 x 1.0 mm body, le a d pitch 0.50 mm, e 3 2m1-a 5/25/06 3 .10 mm expo s ed p a d, micro le a d fr a me p a ck a ge (mlf) common dimen s ion s (unit of me asu re = mm) s ymbol min nom max note d1 d e1 e e b a 3 a2 a1 a d2 e2 0.0 8 c l 1 2 3 p p 0 1 2 3 a 0. 8 0 0.90 1.00 a1 ? 0.02 0.05 a2 ? 0.65 1.00 a 3 0.20 ref b 0.1 8 0.2 3 0. 3 0 d d1 d2 2.95 3 .10 3 .25 4.90 5.00 5.10 4.70 4.75 4. 8 0 4.70 4.75 4. 8 0 4.90 5.00 5.10 e e1 e2 2.95 3 .10 3 .25 e 0.50 b s c l 0. 3 0 0.40 0.50 p ? ? 0.60 ? ? 12 o note: jedec s t a nd a rd mo-220, fig. 2 (anvil s ing u l a tion), vhhd-2. top view s ide view bottom view 0 pin 1 id pin #1 notch (0.20 r) k 0.20 ? ? k k
15 8197cs?avr?05/11 attiny261a/461a/861a 7.2 20p3 2 3 25 orch a rd p a rkw a y sa n jo s e, ca 951 3 1 title drawing no. r rev. 20p 3 , 20-le a d (0. 3 00"/7.62 mm wide) pl as tic d ua l inline p a ck a ge (pdip) d 20p 3 2010-10-19 pin 1 e1 a1 b e b1 c l s eating plane a d e eb ec common dimen s ion s (unit of me asu re = mm) s ymbol min nom max note a ? ? 5. 33 4 a1 0. 38 1 ? ? d 25.49 3 ? 25.9 8 4 note 2 e 7.620 ? 8 .255 e1 6.096 ? 7.112 note 2 b 0. 3 56 ? 0.559 b1 1.270 ? 1.551 l 2.921 ? 3 . 8 10 c 0.20 3 ? 0. 3 56 eb ? ? 10.922 ec 0.000 ? 1.524 e 2.540 typ note s : 1. thi s p a ck a ge conform s to jedec reference m s -001, v a ri a tion ad. 2. dimen s ion s d a nd e1 do not incl u de mold fl as h or protr us ion. mold fl as h or protr us ion s h a ll not exceed 0.25 mm (0.010").
16 8197cs?avr?05/11 attiny261a/461a/861a 7.3 20s2
17 8197cs?avr?05/11 attiny261a/461a/861a 7.4 20x 2325 orchard parkway san jose, ca 95131 title drawing no. r rev. 20x , (formerly 20t), 20-lead, 4.4 mm body width, plastic thin shrink small outline package (tssop) c 20x 10/23/03 6.60 (.260) 6.40 (.252) 1.20 (0.047) max 0.65 (.0256) bsc 0.20 (0.008) 0.09 (0.004) 0.15 (0.006) 0.05 (0.002) index mark 6.50 (0.256) 6.25 (0.246) seating plane 4.50 (0.177) 4.30 (0.169) pin 1 0.75 (0.030) 0.45 (0.018) 0o ~ 8o 0.30 (0.012) 0.19 (0.007) dimensions in millimeters and (inches). controlling dimension: millimeters. jedec standard mo-153 ac
18 8197cs?avr?05/11 attiny261a/461a/861a 8. errata 8.1 errata attiny261a the revision letter in this section refers to the revision of the attiny261a device. 8.1.1 rev d no known errata. 8.1.2 rev c not sampled. 8.2 errata attiny461a the revision letter in this section refers to the revision of the attiny461a device. 8.2.1 rev c no known errata. 8.3 errata attiny861a the revision letter in this section refers to the revision of the attiny861a device. 8.3.1 rev d no known errata. 8.3.2 rev c not sampled.
19 8197cs?avr?05/11 attiny261a/461a/861a 9. datasheet revision history 9.1 rev. 8197c ? 05/11 1. added: ? section 3.3 ?capacitive touch sensing? on page 6 ? section 4. ?cpu core? on page 7 ? table 6-10, ?capacitance of low-freq uency crystal oscillator,? on page 29 ? table 15-5 on page 157 ? section 19.7 ?analog comparator characteristics? on page 193 ? table 19-8 on page 191 ? table 19-9 on page 192 ? tape & reel part numbers in section 23. ?ordering information? on page 281 ? ordering codes for attiny261a with extended temperature, on page 281 2. updated: ? section 6.4 ?clock output buffer? on page 32 (clko) ? figure 15-1 on page 142 , ?analog to digital converter block schematic?, changed internal 1.18v reference to 1.1v ? table 18-8 on page 171 , no. of pages in the eeprom from 64 to 32 for attiny261a ? table 19-1 on page 185 ? section 19.3 ?speed? on page 187 ? characteristic plots figure 20-3 on page 200 , figure 20-8 on page 202 , figure 20- 54 on page 226 , figure 20-59 on page 228 , figure 20-105 on page 252 , and figure 20-110 on page 254 ? bit syntax throughout the datasheet, e.g. from cs02:0 to cs0[2:0] 3. deleted: ? ?preliminary? status. all devices now final and in production. ? ?disclaimer? on page 6 . 9.2 rev. 8197b ? 01/10 1. updated 32m1-a drawing in section 24. ?packaging information? on page 284 . 9.3 rev. 8197a ? 10/09 1. initial revision created from document 2588c (attiny261/461/861) 2. updated "ordering information" on page 281 , page 282 and page 283 . pb-plated pack- ages are no longer offered and there are no separate ordering codes for commercial operation range, the only available option now is industrial. also, added new package options 3. added sections: ? ?software bod disable? on page 36 ? ?attiny461a? on page 225 ? ?attiny861a? on page 251 4. updated sections: ? ?stack pointer? on page 11
20 8197cs?avr?05/11 attiny261a/461a/861a ? ?osccal ? oscillator calibra tion register? on page 32 ? ?mcucr ? mcu control register? on page 38 ? ?mcucr ? mcu control register? on page 51 ? ?mcucr ? mcu control register? on page 68 ? ?speed? on page 187 ? ?enhanced power-on reset? on page 189 ? ?attiny261a? on page 199 ? ?register summary? on page 277 5. updated tables: ? ?dc characteristics. ta = -40c to +85c, vcc = 1.8v to 5.5v (unless otherwise noted).? on page 185 ? ?additional current consumption for the different i/o modules (absolute values).? on page 197 ? ?additional current consumption (percentage) in active and idle mode.? on page 198
21 8197cs?avr?05/11 attiny261a/461a/861a
8197cs?avr?05/11 headquarters international atmel corporation 2325 orchard parkway san jose, ca 95131 usa tel: (+1)(408) 441-0311 fax: (+1)(408) 487-2600 atmel asia limited unit 01-5 & 16, 19f bea tower, millennium city 5 418 kwun tong road kwun tong, kowloon hong kong tel: (+852) 2245-6100 fax: (+852) 2722-1369 atmel munich gmbh business campus parkring 4 d-85748 garching b. munich germany tel: (+49) 89-31970-0 fax: (+49) 89-3194621 atmel japan 9f, tonetsu shinkawa bldg. 1-24-8 shinkawa chuo-ku, tokyo 104-0033 japan tel: (+81)(3) 3523-3551 fax: (+81)(3) 3523-7581 product contact web site www.atmel.com technical support avr@atmel.com sales contact www.atmel.com/contacts literature requests www.atmel.com/literature disclaimer: the information in this document is provided in connection with atmel products. no license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of atmel products. except as set forth in atmel?s terms and condi- tions of sale located on atmel?s web site, atmel assumes no li ability whatsoever and disclaims any express, implied or statutor y warranty relating to its products including, but not limited to, the implied warranty of merchantability, fitness for a particu lar purpose, or non-infringement. in no event shall atmel be liable for any direct, indirect, consequential, punitive, special or i nciden- tal damages (including, without limitation, damages for loss of profits, business interruption, or loss of information) arising out of the use or inability to use this document, even if atme l has been advised of the possibility of such damages. atmel makes no representations or warranties with respect to the accuracy or comp leteness of the contents of this document and reserves the rig ht to make changes to specifications and product descriptions at any time without notice. atmel does not make any commitment to update the information contained her ein. unless specifically provided otherwise, atmel products are not suitable for, and shall not be used in, automotive applications. atmel?s products are not int ended, authorized, or warranted for use as components in applications in tended to support or sustain life. ? 2011 atmel corporation. all rights reserved. atmel ? , logo and combinations thereof, and others ar e registered trademarks or trademarks of at mel corporation or its subsidiaries. o ther terms and product names may be trademarks of others.


▲Up To Search▲   

 
Price & Availability of ATTINY861A-XU

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X